class ConfigData {
  final String? color;   
  final String? description;   
  final String? type;   
  final String? title;   
  final String? uuid;   
  final String? isGlobalSetting;   

  ConfigData({
    this.color,
    this.description,
    this.type,
    this.title,
    this.uuid,
    this.isGlobalSetting,
  });

  factory ConfigData.fromJson(Map<String, dynamic> json) {
    return ConfigData(
      color: json['color'],
      description: json['description'],
      type: json['type'],
      title: json['title'],
      uuid: json['uuid'],
      isGlobalSetting: json['is_global_setting'],
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'color': color,
      'description': description,
      'type': type,
      'title': title,
      'uuid': uuid,
      'is_global_setting': isGlobalSetting,
    };
  }
}
